package com.ukao.pad.adapter;

import android.content.Context;

import com.mcxtzhang.commonadapter.rv.CommonAdapter;
import com.mcxtzhang.commonadapter.rv.ViewHolder;
import com.ukao.pad.R;

import java.util.List;

/**
 * Created by ukaodev on 2017/7/19.
 */

public class LeaveFactoryAdapter extends CommonAdapter<String> {



    public LeaveFactoryAdapter(Context context, List<String> datas) {
        super(context, datas, R.layout.adapter_leave_factory);
    }

    @Override
    public void convert(ViewHolder holder, String testBean) {

//        if(item.isCheck()){
//
//            holder.itemView.setBackgroundResource(R.color.transparent);
//        }else{
//            Drawable drawable=  mContext.getResources().getDrawable(R.drawable.check_box_normal);
//
//            selectCheckbox.setImageDrawable(drawable);
//            holder.itemView.setBackgroundResource(R.color.item_blue);
//        }

    }

}
